<div class="documentwrapper">
 <div class="bodywrapper">
  <div class="body" role="main">
   <section id="test">
    <h1>
     Test
     <a class="headerlink" href="#test" title="Link to this heading">
      ¶
     </a>
    </h1>
    <dl class="myst field-list simple">
     <dt class="field-odd">
      field
      <span class="colon">
       :
      </span>
     </dt>
     <dd class="field-odd">
      <p>
      </p>
     </dd>
     <dt class="field-even">
      <em>
       field
      </em>
      <span class="colon">
       :
      </span>
     </dt>
     <dd class="field-even">
      <p>
       content
      </p>
     </dd>
    </dl>
    <dl class="py function">
     <dt class="sig sig-object py" id="send_message">
      <span class="sig-name descname">
       <span class="pre">
        send_message
       </span>
      </span>
      <span class="sig-paren">
       (
      </span>
      <em class="sig-param">
       <span class="n">
        <span class="pre">
         sender
        </span>
       </span>
      </em>
      ,
      <em class="sig-param">
       <span class="n">
        <span class="pre">
         priority
        </span>
       </span>
      </em>
      <span class="sig-paren">
       )
      </span>
      <a class="headerlink" href="#send_message" title="Link to this definition">
       ¶
      </a>
     </dt>
     <dd>
      <p>
       Send a message to a recipient
      </p>
      <dl class="myst field-list simple">
       <dt class="field-odd">
        Parameters
        <span class="colon">
         :
        </span>
       </dt>
       <dd class="field-odd">
        <ul class="simple">
         <li>
          <p>
           <strong>
            sender
           </strong>
           (
           <em>
            str
           </em>
           ) – The person sending the message
          </p>
         </li>
         <li>
          <p>
           <strong>
            priority
           </strong>
           (
           <em>
            int
           </em>
           ) – The priority of the message, can be a number 1-5
          </p>
         </li>
        </ul>
       </dd>
       <dt class="field-even">
        Returns
        <span class="colon">
         :
        </span>
       </dt>
       <dd class="field-even">
        <p>
         the message id
        </p>
       </dd>
       <dt class="field-odd">
        Return type
        <span class="colon">
         :
        </span>
       </dt>
       <dd class="field-odd">
        <p>
         int
        </p>
       </dd>
       <dt class="field-even">
        Raises
        <span class="colon">
         :
        </span>
       </dt>
       <dd class="field-even">
        <p>
         <strong>
          ValueError
         </strong>
         – if the message_body exceeds 160 characters
        </p>
       </dd>
      </dl>
     </dd>
    </dl>
   </section>
  </div>
 </div>
</div>
